<template>
  <div id="app">
    <router-view></router-view>
    <!-- <el-date-picker v-model="queryParams.time" 
    type="datetimerange" align="right" :unlink-panels="true"
    start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd HH:mm:ss" 
    :picker-options="datePickerOpt" /> -->
  </div>
</template>
<script>
export default {
  data() {
    return {
      datePickerOpt: {
        disabledDate: time => time.getTime() > Date.now(),
      },
      queryParams: {
        time: [new Date(new Date().valueOf() - 3600 * 1000 * 24 * 30), new Date()],
      },
    };
  },
};
</script>
<style lang="scss">
body {
  margin: 0;
  overflow: hidden;
}

html,
body,
#app {
  height: 100%;
}
</style>
